<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
 <meta charset="UTF-8"/>
<title>Insert title here</title>
<link rel="stylesheet" th:href="@{/css/bootstrap.css}"></link>
</head>
<body>
	
		<br/><br/>
		<div class="width:80%">
	
		<form class="form-horizontal"   th:action="@{/upload}"  method="post" enctype="multipart/form-data">
			
        <div class="form-group">
         <div class="col-sm-offset-2 col-sm-10">
         <h1>上传文件的尝试</h1><br/><br/>
            <input type="file" name="file" /><br/><br/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="submit" value="Submit" class="btn btn-info" />
            </div>
        </div>
		</form>
	</div>
</body>
</html>